package com.ruoyi.framework.security.sso;

import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import org.springframework.security.core.GrantedAuthority;

import java.util.Collection;

public class SsoAuthenticationToken extends UsernamePasswordAuthenticationToken {

    public SsoAuthenticationToken(Object principal) {
        super(principal, "");
    }

    public SsoAuthenticationToken(Object principal, Collection<? extends GrantedAuthority> authorities) {
        super(principal, "", authorities);
    }
}
